#pragma once
#include "e2d/core/EntityHandler.h"

#include "e2d/core/physics/PxUtils.h"
#include "e2d/core/physics/PhysicsTriggerCallback.h"

namespace e2d
{

	struct  PhysicsSystem :e2d::EntityHandler
	{
        PhysicsTriggerCallback* m_PhysicsTriggerCallback{ 0 };

		PhysicsSystem();

		void OnLoad() override;

		void OnStart() override;

		void OnUpdateRuntime() override;
	
		void OnUpdate() override;

		void OnDestory() override;

		void Delete();


	};

};